]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
altTab: Also use getWindows() for AppSwitcher
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 17 May 2018 19:19:33 +0000 (21:19 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 25 Jan 2022 20:03:01 +0000 (20:03 +0000)
Use our custom filtering for meta_display_get_tab_list() in AppSwitcher
to be consistent and make sure the thumbnail list also includes the
remapping done in getWindows().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2098>

js/ui/altTab.js

index 78450ac7898598fb811103c115efc7c28aa9d840..adb5c96cd5e7054e40af17b7260481b3d4e0ef62 100644 (file)
@@ -693,7 +693,7 @@ class AppSwitcher extends SwitcherPopup.SwitcherList {
             workspace = workspaceManager.get_active_workspace();
         }
 
-        let allWindows = global.display.get_tab_list(Meta.TabList.NORMAL, workspace);
+        let allWindows = getWindows(workspace);
 
         // Construct the AppIcons, add to the popup
         for (let i = 0; i < apps.length; i++) {